
public class Palindrome {
		
	//constructor
	public Palindrome () {
		
	}
	
	//method
	public boolean isPalindrome(int n){
		int num = 0; 
		int digits = 0;
		int nod = 1;
		num = n;
		
		//find out the digits
		while(num > 10){
				
			num = num / 10;
			digits++;
		}
		
		for(int i = 0; i < digits; i++){
			nod = nod * 10;
							
		}
		
		
		
		
		
		return true;
	}
	
	
	public static void main(String[] args) {
	

	}

}
